package com.lokiy.kit.ext

import android.util.TypedValue

/**
 *
 * @author Lokiy
 * @date 2023-08-22 10:49
 */

val Number.dp
    get() = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, toFloat(), applicationCxt.resources.displayMetrics)